<?php
@require_once("config.php");
$user_name=$_GET["user_name"];
$user_phone=$_GET["user_phone"];
mysql_query("delete from useraddress where user_name='$user_name' and user_phone='$user_phone' ");
$arr=array();
if(mysql_affected_rows()>0){
  $arr["status"]=true;
  $arr["msg"]="删除成功";
}
else{
   $arr["status"]=false;
   $arr["msg"]="删除失败";   
}
echo json_encode($arr);
?>